body { margin: 0; padding: 0; background: #f5f6fa; display: flex; min-height: 100vh; }
.main-wrapper { display: flex; width: 100%; }
.sidebar {
    width: 240px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    padding: 0;
    box-shadow: 2px 0 8px rgba(0,0,0,0.07);
    min-height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.sidebar h3 {
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 32px 0 16px 0;
    letter-spacing: 2px;
    font-size: 1.3rem;
    margin-bottom: 0;
}
.sidebar ul {
    list-style: none;
    padding: 0 0 32px 0;
    margin: 0;
    flex: 1;
}
.sidebar ul li {
    margin: 0;
}
.sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 14px 32px;
    color: #e3e6f0;
    text-decoration: none;
    font-size: 1.08rem;
    border-left: 4px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border-radius: 0 24px 24px 0;
    margin-bottom: 2px;
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-left: 4px solid #f6c23e;
    font-weight: bold;
}
.sidebar ul li a .icon {
    margin-right: 10px;
    font-size: 1.2em;
}
.main-content { flex-grow: 1; padding: 20px; background-color: #f5f6fa; }
.info-card { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.avatar-upload-area {
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 10px;
}
.avatar-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.form-group {
    flex: 1;
    min-width: 220px;
    margin-right: 16px;
    margin-bottom: 8px;
}
.form-group:last-child {
    margin-right: 0;
}
input[type="text"], select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}
button, .btn, .btn-outline-primary, .btn-secondary {
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    background: #4e73df;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 8px;
    transition: background 0.2s;
}
button:hover, .btn:hover, .btn-outline-primary:hover, .btn-secondary:hover {
    background: #224abe;
}
.btn-outline-primary {
    background: #fff;
    color: #224abe;
    border: 1px solid #224abe;
}
.btn-outline-primary:hover {
    background: #224abe;
    color: #fff;
}
.btn-secondary {
    background: #6c757d;
}
.btn-secondary:hover {
    background: #495057;
}
.input-group {
    display: flex;
    align-items: center;
}
.input-group input {
    flex: 1;
}
.input-group button {
    margin-left: 8px;
}
/* 原生弹窗样式 */
.modal-mask {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    width: 350px;
    max-width: 90vw;
    padding: 0;
    overflow: hidden;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 8px 20px;
    border-bottom: 1px solid #eee;
}
.modal-title {
    font-size: 1.1rem;
    font-weight: bold;
}
.modal-close {
    font-size: 1.3rem;
    cursor: pointer;
    color: #888;
}
.modal-body {
    padding: 18px 20px 8px 20px;
}
.modal-footer {
    padding: 12px 20px 16px 20px;
    text-align: right;
    border-top: 1px solid #eee;
} 